
PRJ_NAME       = "fpga-2016"
# PRJ_VERSION    = "1"
# PRJ_PATCHLEVEL = "0"
# PRJ_SUBLEVEL   = "0"


# default download.elf,download.dis,download.bin
OUTPUT_ELF	= tool-ls.elf
# OUTPUT_DIS	= 
# OUTPUT_BIN	= 
# OUTPUT_SO 	= 
# OUTPUT_A	= 
# OUTPUT_DIR 	= 




INCLUDE_DIR	+= 

LFLAGS-$(CONFIG_PROTOCAL_TR600_SPI) += -lfpga-2016
LFLAGS-$(CONFIG_PROTOCAL_TR700_SPI) += -lfpga-tr700
LFLAGS-$(CONFIG_PROTOCAL_TR700_USB) += -lfpga-tr700-usb
LFLAGS-$(CONFIG_PROTOCAL_TR700_USB_TK) += -lfpga-tr700-usb-tk


ifeq ("$(CONFIG_USE_PTHREAD_FPGA_OTDR)", "y")
	LFLAGS		+= -lpthread
endif

LFLAGS		+= -lpthread -lm
LFLAGS += $(LFLAGS-y)
LIB_DIR 	+= 
CFLAGS      +=  -O3 -std=gnu99

LFLAGS		+= -Wl,-rpath=./:./lib-$(ARCH)/